package com.yaoayao.mall.order.config;

import com.yaoayao.mall.common.interceptors.FeignInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: peiyao
 * @date: 2024/4/18 2:43
 * @description:
 */
@Configuration
public class FeignConfig {

    @Bean
    public FeignInterceptor feignInterceptor(){
        return new FeignInterceptor();
    }
}
